package util;

import lombok.AllArgsConstructor;
import lombok.Data;

@AllArgsConstructor
@Data
public class ResultUtil {
    private int succ;
    private  Object data;
    private  String msg;
public  static ResultUtil toResult(int succ,Object data,String msg){
    ResultUtil resultUtil=new ResultUtil(succ, data, msg);
    return resultUtil;
}
}
